class Song
  include DataMapper::Resource
  
  property :id,      Serial
  property :icon,    String,          :required => true
  property :name,    String,        :required => true, :length => 500
  property :text,    Text,          :required => true, :lazy => false
  property :release, Date,          :required => true
  property :url,     String,        :required => true, :length => 500
  property :owner,   String,        :required => true, :length => 500
  property :gerne,   String,        :required => true, :length => 500
  property :kind,    String,        :required => true, :length => 500
  property :like,    Boolean,       :required => true
  timestamps :at 
 def get_headers()
  	return properties
	end
  end
